package add_$11_Case_7_2;

public class Good {
	int id;
	String name;
	double price;
	int number;
	double money;
	String people;
	public Good(int id, String name, double price, int number, double money, String people) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.number = number;
		this.money = money;
		this.people = people;
	}
	@Override
	public String toString() {
		return "进货记录编号：" + id + "\n商品名称" + name + "\n单价：" + price + "\n库存数量:" + number
				+ "\n联系人:" + people + "\n";
	}
	
	public void setNumber(int number) {
		this.number = number;
	}
	
}
